package com.ndp.fb.rdb.model;

import com.ndp.fb.rdb.annotation.Column;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;

/**
 * Created by infi.he on 2015/10/27.
 */
@Setter
@Getter
@NoArgsConstructor
public class UserExt implements Serializable {
    /**
     * as table user as column ticket
     */
    private String ticket;
    /**
     * as table user as column username
     */
    private String username;
    /**
     * as table user as column nickname
     */
    private String nickname;
    /**
     * as table user as column timezone_id
     */
    private String timezoneId;
    /**
     * as table user as column timezone_name
     */
    private String timezoneName;
    /**
     * as table user as column update_time
     */
    private Long updateTime;
    /**
     * as table user as column org_id
     */
    private Long orgId;
    /**
     * as table user_role as column role_id(SEPARATOR "_")
     */
    private String roleId;
    @Column("name")
    private String companyName;

}
